package com.mimi.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mimi.core.AbstractActiveCodeOLObject;
import com.mimi.enumtype.PeriodTimeEnum;
@Entity
@Table(name = "tbl_point_setting")
public class PointSetting extends AbstractActiveCodeOLObject {
	private static final long serialVersionUID = 5833911019054011220L;
	private Double pAmount;
	private Integer pPoint;
	private Float pPercent;
	private Integer pMinAmount;
	private Integer pUseableMultiplePoint;
	private Integer pPeriod;
	private PeriodTimeEnum pPeriodTimeType;
	
	@Column(name = "pAmount")
	public Double getpAmount() {
		return pAmount;
	}

	public void setpAmount(Double pAmount) {
		this.pAmount = pAmount;
	}

	@Column(name = "pPoint")
	public Integer getpPoint() {
		return pPoint;
	}

	public void setpPoint(Integer pPoint) {
		this.pPoint = pPoint;
	}

	@Column(name = "pPercent")
	public Float getpPercent() {
		return pPercent;
	}

	public void setpPercent(Float pPercent) {
		this.pPercent = pPercent;
	}
	
	@Column(name = "pMinAmount")
	public Integer getpMinAmount() {
		return pMinAmount;
	}

	public void setpMinAmount(Integer pMinAmount) {
		this.pMinAmount = pMinAmount;
	}

	@Column(name = "pUseableMultiplePoint")
	public Integer getpUseableMultiplePoint() {
		return pUseableMultiplePoint;
	}

	public void setpUseableMultiplePoint(Integer pUseableMultiplePoint) {
		this.pUseableMultiplePoint = pUseableMultiplePoint;
	}
	
	@Column(name = "pPeriod")
	public Integer getpPeriod() {
		return pPeriod;
	}

	public void setpPeriod(Integer pPeriod) {
		this.pPeriod = pPeriod;
	}

	@Column(name = "pPeriodTimeType")
	public PeriodTimeEnum getpPeriodTimeType() {
		return pPeriodTimeType;
	}

	public void setpPeriodTimeType(PeriodTimeEnum pPeriodTimeType) {
		this.pPeriodTimeType = pPeriodTimeType;
	}
}
